package com.coda.app.mapper;

import com.coda.entity.FacilityInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FacilityMapper {
    /**
     * 根据房间id获取配套信息
     * @param id
     * @return
     */
     List<FacilityInfo> getRoomFacility(Long id);

    /**
     * 根据公寓id获取配套信息
     * @param id
     * @return
     */
    List<FacilityInfo> getApartmentFacility(Long id);
}
